home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / ARASAN_S.ZIP / HINT.H < prev    next >
C/C++ Source or Header  |  1994-02-25  |  608b  |  30 lines

  1. // Copyright 1993 by Jon Dart.  All Rights Reserved.
  2.  
  3. #include <wpp.h>
  4. #include <wpdlg.h>
  5.  
  6. #include "move.h"
  7. #include "constant.h"
  8.  
  9. #define IDP_ANOTHER 103
  10. #define IDP_HINT_TEXT 104
  11.  
  12. class HintDialog : public WPDialogModal
  13. {
  14. public:
  15.     static Move hintMove;
  16.  
  17.     // handles the Hint dialog
  18.     HintDialog(WPWin *pwin, Board &board);
  19.     void initDlg();
  20.     BOOL command(int id, WORD msg);
  21. private:
  22.     void compute_hint();
  23.     HWND move_text;
  24.     Board &the_board;
  25.     Move moves[Constants::MAX_HINT_MOVES];
  26.     WPWin *parent;
  27.     unsigned num_moves;
  28.     unsigned next_move;
  29. };
  30.